package com.service.Impl;

import com.pojo.Info;
import com.service.InfoSer;

import java.util.List;

import static com.util.Vessel.infoDao;

public class InfoSerImpl implements InfoSer {
    @Override
    public List<Info> queryInfo() {
        return infoDao.queryInfo();
    }

    @Override
    public int delInfo(Info info) {
        return infoDao.delInfo(info);
    }

    @Override
    public int addInfo(Info info) {
        return infoDao.addInfo(info);
    }

    @Override
    public List<Info> queryInfo(Info info) {
        return infoDao.queryInfo(info);
    }
}
